d="student"
print (d[-1]+d[1:len(d)-1]+d[0])
